package com.hyh.eblog.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录参数
 * @author Summerday
 */

@Data
public class UserLoginParam {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
